#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <unistd.h>
#include <pthread.h>
#include "cli_helper.h"

extern int data_socket;
extern bool shouldExit;

extern char *listBuf;
extern pthread_mutex_t mListBuf;
extern pthread_cond_t listBufRdy;

extern int fileSize;
extern pthread_mutex_t mFileSize;


extern pthread_mutex_t dummyMutex;
extern pthread_cond_t enterPasvMode;

bool enterPassiveMode();
void downloadFile(char*);

//buffer size of file befor written to disk
#define DATA_BUF_SIZE 4096
